<div class="span3">
	<?php if(isset($loggedin) && $loggedin === true) : ?>
		<h4 class="title">Logga ut</h4>
		<div class="box">
			<p><a href="/logoff">Klicka här</a> för att logga ut</p>
		</div>
	<?php else :  ?>
		<h4 class="title">Logga in</h4>
		<div class="box loginwidget">
			<form action="/kundsidor/login" method="post" accept-charset="utf-8">
				<table class="login-form">
					<tbody>
						<tr>
							<td colspan="2"><input type="text" name="login" value="" id="login" maxlength="80" size="30" placeholder="Epost"></td>
						</tr>
						<tr>
							<td colspan="2"><input type="password" name="password" value="" id="password" size="30" placeholder="Lösenord"></td>
						</tr>
						<tr>
							<td>
								<input type="submit" name="submit" value="Logga in">
							</td>
							<td>
								<input type="checkbox" name="remember" value="1" id="remember" style="margin:0;padding:0">
								<label for="remember">Kom ihåg mig</label>
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<br/>
								<a href="http://fiskkillen.local/index.php/glomt_losenord">Glömt mitt lösenord</a>
							</td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	<?php endif;?>
</div>